package cn.fourhundredandeighteen.dao;

import cn.fourhundredandeighteen.entity.Score;
import org.apache.ibatis.annotations.Param;

public interface ScoreDao {
    int deleteByPrimaryKey(Long scoresId);

    int insert(Score record);

    int insertSelective(Score record);

    Score selectByPrimaryKey(Long scoresId);

    int updateByPrimaryKeySelective(Score record);

    int updateByPrimaryKey(Score record);

    Score selectByStudentScore(@Param("studentId") Long studentId, @Param("courseId") Long courseId);
}